package com.fruit.app.service;

import java.util.List;

import com.fruit.app.model.Bouns;
import com.fruit.app.model.BounsExample;
import com.fruit.app.model.BounsItem;


public interface BounsService {
	
	/**
	 * ���ID�õ��������
	 * @param id
	 * @return
	 */
	public abstract Bouns queryBounsBySaleMember(Bouns bouns);
	
	/**
	 * ������£��������ѯ��Ϣ
	 * @param time
	 * @param shopName
	 * @param level
	 * @return
	 */
	public List<Bouns> queryByObject(String time, String memberCname, Integer level, BounsExample bounsExample);
	
	/**
	 * ��ѯ������
	 * @param time
	 * @param memberCname
	 * @param level
	 * @return
	 */
	public Integer getCount(String time, String memberCname, Integer level);
	
	/**
	 * ��ѯ�¶���ѵ
	 * @param bouns
	 * @return
	 */
	public List<BounsItem> queryItemBySaleMember(BounsItem item);

}